﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="userhistory.ascx.cs" Inherits="Views_module_userhistory" %>
<div align=center style="color:#9400D3;font-size:30px;">
Lịch sử giao dịch
<div style="height:20px;"></div>    
</div>
<div class="middle">
<asp:DataList ID="history" runat="server" width="100%">
            <HeaderTemplate>
                <table class="cart" style="width:100%">
                <tr>
                
                  <th align="center"><b>Ngày Mua</b></th>
                  <th align="left"><b>Số lượng sản phẩm</b></th>
                  <th align="right"><b>Tổng số tiền</b></th>
                  <th align="right"><b>Chi Tiết</b></th>
                 
                </tr>
            </HeaderTemplate>
            <ItemTemplate>
                 <tr class="even">                  
                  <td align="center"><%# Eval("date_added") %></td>
                  <td align="center" valign="top"><%# Eval("total_order_product_id") %></td>
                  <td align="right" valign="top"><%# Eval("total") %></td>
                  <td align="right" valign="top"><a href="Default.aspx?action=viewHistory&idp=<%# Eval("order_id") %>">Chi tiết</a></td>             
                </tr>
            </ItemTemplate>
            
            </asp:DataList>
            </table>
</div>

<div class="bottom">
</div>
